{% extends 'pybb/base.html' %}
{% load pybb_tags %}
{% load i18n %}

{% block title %}
{% trans "All topics created by" %} {{ profile }}
{% endblock %}


{% block pybb_content %}
<h1>{% trans "All topics created by" %} {{ profile|pybb_profile_link }}</h1>
<ul class="tablist">
    <li class="tablist-row last">
        <ul class="tablist-inner topic">
            {% for topic in page.object_list %}
            <li class="tablist-inner-row topic">
                <span class="title"><a href={{ topic.get_absolute_url }}>{{ topic }}</a></span>
                <span class="post_count">{{ topic.posts.count }}</span>
                <span class="updated">{{ topic.created|date:"d M Y h:i" }}</span>
            </li>
            {% endfor %}
        </ul>
    </li>
</ul>

{% with _('Topics') as label %}
{% include "pybb/pagination.html" %}
{% endwith %}

</div>
{% endblock %}
